package com.linkwechat.common.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;
import org.springframework.http.HttpStatus;

/**
 * @see  HttpStatus
 * wjp
 */
@Getter
@AllArgsConstructor
public enum ResponseEnum {
    SUCCESS(200,"成功"),

    FAIL(500,"失败"),

    UN_AUTH(403,"未授权"),

    UNAUTHORIZED(401, "未登录"),

    ;

    private Integer code;

    private String msg;
}
